<div class="container">
<?php echo $this->render('left.phtml'); ?>
    <div class="main-container">
        <div class="title-main-container">
            <span style="text-transform: uppercase;">Tin tức</span>
        </div>
        
        <div class="content-evaluation">
            <?php
                $common = new Admincp_Model_Common();
            ?>
            <div class="news-first">
                <h2 class="news-title-detail"><?php echo $this->data['title']; ?></h2>
                <p class="news-date-detail">Ngày đăng: <?php echo $common->formatDatetime($this->data['create_date']); ?></p>
                
                <div class="news-description-detail">
                    <?php echo $this->data['description']; ?>
                </div>
                
                <?php if(count($this->data2) > 0) : ?>
                <h3 class="connection-news">Các tin liên quan</h3>
                <ul class="list-connection-news">
                    <?php foreach($this->data2 as $value) : ?>
                    <li>
                        <a href="<?php echo $this->url(array('action'=>'detail','controller'=>'news','module'=>'default','id'=>$value['id'],'title'=>$value['url']),'newsdetail'); ?>">
                            <?php echo $value['title']; ?>
                        </a>
                    </li>
                    <?php endforeach; ?>
                </ul>
                <?php endif; ?>
            </div>
        </div>
    </div>
</div>